[INFO] cloning repository https://github.com/power3xz/rust-in-action
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/power3xz/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 409f37b437ad161cb1dc57f9410ca9123f97dcf6
[INFO] checking power3xz/rust-in-action against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/power3xz/rust-in-action on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/power3xz/rust-in-action
[INFO] finished tweaking git repo https://github.com/power3xz/rust-in-action
[INFO] tweaked toml for git repo https://github.com/power3xz/rust-in-action written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/power3xz/rust-in-action already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9518704e969e5bd9abbcc62d54a76be9ea13fd4bf5230e2f4078b2407241f84
[INFO] running `Command { std: "docker" "start" "-a" "c9518704e969e5bd9abbcc62d54a76be9ea13fd4bf5230e2f4078b2407241f84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9518704e969e5bd9abbcc62d54a76be9ea13fd4bf5230e2f4078b2407241f84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9518704e969e5bd9abbcc62d54a76be9ea13fd4bf5230e2f4078b2407241f84", kill_on_drop: false }`
[INFO] [stdout] c9518704e969e5bd9abbcc62d54a76be9ea13fd4bf5230e2f4078b2407241f84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72ecdfdc6ed0a0e925ac8ee3c1d4d56ea7bca8ad3cfecb12207c63288efc63ac
[INFO] running `Command { std: "docker" "start" "-a" "72ecdfdc6ed0a0e925ac8ee3c1d4d56ea7bca8ad3cfecb12207c63288efc63ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking l1-8 v0.1.0 (/opt/rustwide/workdir/l1-8)
[INFO] [stderr]     Checking l2-10 v0.1.0 (/opt/rustwide/workdir/l2-10)
[INFO] [stderr]     Checking l1-6 v0.1.0 (/opt/rustwide/workdir/l1-6)
[INFO] [stderr]     Checking l3-17 v0.1.0 (/opt/rustwide/workdir/l3-17)
[INFO] [stderr]     Checking l5-7 v0.1.0 (/opt/rustwide/workdir/l5-7)
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function
[INFO] [stdout]  --> l1-6/src/main.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     thread::spawn(|| {
[INFO] [stdout]   |                   ^^ may outlive borrowed value `data`
[INFO] [stdout] 7 |         data = 500;
[INFO] [stdout]   |         ---- `data` is borrowed here
[INFO] [stdout]   |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]  --> l1-6/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | /     thread::spawn(|| {
[INFO] [stdout] 7 | |         data = 500;
[INFO] [stdout] 8 | |     });
[INFO] [stdout]   | |______^
[INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]   |
[INFO] [stdout] 6 |     thread::spawn(move || {
[INFO] [stdout]   |                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `data` as mutable more than once at a time
[INFO] [stdout]   --> l1-6/src/main.rs:9:19
[INFO] [stdout]    |
[INFO] [stdout] 6  |       thread::spawn(|| {
[INFO] [stdout]    |       -             -- first mutable borrow occurs here
[INFO] [stdout]    |  _____|
[INFO] [stdout]    | |
[INFO] [stdout] 7  | |         data = 500;
[INFO] [stdout]    | |         ---- first borrow occurs due to use of `data` in closure
[INFO] [stdout] 8  | |     });
[INFO] [stdout]    | |______- argument requires that `data` is borrowed for `'static`
[INFO] [stdout] 9  |       thread::spawn(|| {
[INFO] [stdout]    |                     ^^ second mutable borrow occurs here
[INFO] [stdout] 10 |           data = 1000;
[INFO] [stdout]    |           ---- second borrow occurs due to use of `data` in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function
[INFO] [stdout]   --> l1-6/src/main.rs:9:19
[INFO] [stdout]    |
[INFO] [stdout] 9  |     thread::spawn(|| {
[INFO] [stdout]    |                   ^^ may outlive borrowed value `data`
[INFO] [stdout] 10 |         data = 1000;
[INFO] [stdout]    |         ---- `data` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> l1-6/src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | /     thread::spawn(|| {
[INFO] [stdout] 10 | |         data = 1000;
[INFO] [stdout] 11 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 9  |     thread::spawn(move || {
[INFO] [stdout]    |                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> l1-6/src/main.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 6  |       thread::spawn(|| {
[INFO] [stdout]    |       -             -- mutable borrow occurs here
[INFO] [stdout]    |  _____|
[INFO] [stdout]    | |
[INFO] [stdout] 7  | |         data = 500;
[INFO] [stdout]    | |         ---- first borrow occurs due to use of `data` in closure
[INFO] [stdout] 8  | |     });
[INFO] [stdout]    | |______- argument requires that `data` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 13 |       println!("{}", data);
[INFO] [stdout]    |                      ^^^^ immutable borrow occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `l1-6` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `letters`
[INFO] [stdout]  --> l1-8/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut letters = vec!["a", "b", "b"];
[INFO] [stdout]   |         ----------- move occurs because `letters` has type `Vec<&str>`, which does not implement the `Copy` trait
[INFO] [stdout] 3 |
[INFO] [stdout] 4 |     for letter in letters {
[INFO] [stdout]   |                   ------- `letters` moved due to this implicit call to `.into_iter()`
[INFO] [stdout] 5 |         println!("{}", letter);
[INFO] [stdout] 6 |         letters.push(letter.clone());
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]   |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `letters`
[INFO] [stdout] help: consider iterating over a slice of the `Vec<&str>`'s content to avoid moving into the `for` loop
[INFO] [stdout]   |
[INFO] [stdout] 4 |     for letter in &letters {
[INFO] [stdout]   |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `l1-8` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "72ecdfdc6ed0a0e925ac8ee3c1d4d56ea7bca8ad3cfecb12207c63288efc63ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72ecdfdc6ed0a0e925ac8ee3c1d4d56ea7bca8ad3cfecb12207c63288efc63ac", kill_on_drop: false }`
[INFO] [stdout] 72ecdfdc6ed0a0e925ac8ee3c1d4d56ea7bca8ad3cfecb12207c63288efc63ac
